<?php


namespace App\Biquge;


use App\Job\IJob;
use App\Utils\Logger;

class NovalJob extends IJob
{
    public $url;

    public function __construct(string $url)
    {
        $this->url = $url;
    }

    public function handle()
    {
        Logger::getLogger('handler')->info("handle start");
//        (new Noval())->getContent($this->url, 0);
        (new Noval())->getNewContent($this->url);
    }

}